﻿using System.Collections.Generic;
using System.Windows.Controls;

namespace uTrade.Controls
{
    /// <summary>
    /// TittleBox.xaml 的交互逻辑
    /// </summary>
    public partial class TittleBox : UserControl
    {
        public TittleBox()
        {
            InitializeComponent();
        }

        public void SetTittle(List<TextBlock> lstTittles)
        {
            TittlePanel.Children.Clear();
            foreach (var obj in lstTittles)
            {
                TittlePanel.Children.Add(obj);
            }
        }
    }
}